x11: Add the same message as the wayland backend has
authorMatthias Clasen <mclasen@redhat.com>
Mon, 17 Oct 2016 19:27:15 +0000 (15:27 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Mon, 17 Oct 2016 23:11:32 +0000 (19:11 -0400)
This seems prudent, if we make noise about missing cursors
on Wayland, we should do the same on X11.

gdk/x11/gdkcursor-x11.c

index 7f1487328e038d985e397b4e611dba9db5b60434..1895ba9e585a5215862ccc94e48bec467ae53ebb 100644 (file)
@@ -704,7 +704,10 @@ _gdk_x11_display_get_cursor_for_name (GdkDisplay  *display,
             }
         }
       if (xcursor == None)
-        return NULL;
+        {
+          g_message ("Unable to load %s from the cursor theme", name);
+          return NULL;
+        }
     }
 
   private = g_object_new (GDK_TYPE_X11_CURSOR,